package main;
public class MyNumber implements Expression {
	private int value;

	public MyNumber(int v) {
		value = v;
	}
	public int compute() {
		return value;
	}
	public String toString() {
		return Integer.toString(value);
	}
	public void print() {
		System.out.print(value);
	}

	public int countOps() {
		return 0;
	}

	public int countDepth() {
		return 0;
	}

	public int countNbs() {
		return 1;
	}
}

